<template>
  <div>
    <h2>Shop</h2>
    {{ $route.params }}
    <hr>
    $route.params.id : {{ $route.params.id }}
    <hr>
    $route.params.rid
    : {{ $route.params.rid }}

    <hr>
    id:{{ id }}
    <hr>
    rid:{{ rid }}
  </div>
</template>

<script setup>
defineProps(['id', 'rid'])
</script>